package com.yunhe.abnormal.service.base;

import com.yunhe.abnormal.domain.base.AlarmLevel;
import com.yunhe.common.model.base.AlarmLevelDTO;

import java.util.List;

public interface AlarmLevelService {

    AlarmLevelDTO create(AlarmLevel alarmLevel);

    AlarmLevelDTO findByCode(Long code);

    AlarmLevelDTO findById(Long id);

    List<AlarmLevelDTO> findAll();

    AlarmLevelDTO findAlarmLevelByAlarmId(Long abnormalId);

    AlarmLevelDTO findAlarmLevelByAlarmName(String abnormalName);

//    AlarmLevel getAlarmLevelIdByAlarmId(Long abnormalCode);

    void delete(Long id);

    List<String> getAlarmLevelNameByPointNumbers(List<Long> pointNumbers, Long stationId);

    List<String> getAlarmLevelNameByObjectId(Long objectId);

    AlarmLevel findByName(String name);
}
